package creational.factory.factoryMethod.products;

import creational.factory.factoryMethod.Fruit;

public class Grape implements Fruit {

    public String name() {
        return "葡萄";
    }

    public String flavor() {
        return "甜";
    }

    @Override
    public void init() {
        System.out.println(String.format("初始化 %s, 口味：%s", name(), flavor()));
    }
}